<%--
  Created by IntelliJ IDEA.
  User: 浮犴兮
  Date: 2022/4/2
  Time: 16:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
        <title>${param.state.equals("forget")?"重置密码":"注册"}</title>
    <meta charset="utf-8"/>
    <link href="CSS/style.css" rel="stylesheet" type="text/css"/>
    <style>
        .forgot {
            background-color: #F45B4B;
            font-size: 16px;
            color: #FFFFFF;
            border-radius: 60%;
            border: none;
            -webkit-border-radius: 19px;
            padding-top: 8px;
            padding-bottom: 8px;
            padding-left: 7px;
            padding-right: 7px;
            width: 25%;
            text-align: center;
            cursor: pointer;

        }
    </style>
</head>
<body>
<div class="login">
    <div class="login-top">
        <a href="login.html" style="color: #F45B4B;font-size: 16px">⬅返回登陆页面</a>
        <h1>${param.state.equals("forget")?"重置密码":"注册"}</h1>
        <form action="/registerController" method="POST">
            <input type="hidden" name="method" value="${param.state}">
            <label style="font-size: 24px;color: #F45B4B">
                用户名:<input type="text" name="username">
            </label><br>
            <label style="font-size: 24px;color: #F45B4B">
                密码:<input type="password" name="password">
            </label><br>
            <div style="text-align: right">
                <input type="submit" onmouseover="this.style.backgroundColor='#7f7f7f'"
                       onmouseout="this.style.backgroundColor='#F45B4B'" class="forgot"
                       value="${param.state.equals("forget")?"重置密码":"注册"}">
            </div>
        </form>
    </div>
    <div class="login-bottom">
        <%--        <div>${param.state.equals("forget")?"重置密码ing":"注册ing"}</div>--%>
    </div>
</div>
</body>
</html>
